3.1719 \(\int \frac{(A+B x) \sqrt{a^2+2 a b x+b^2 x^2}}{(d+e x)^7} \, dx\)

Optimal. Leaf size=158 \[ \frac{\sqrt{a^2+2 a b x+b^2 x^2} (-a B e-A b e+2 b B d)}{5 e^3 (a+b x) (d+e x)^5}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e) (B d-A e)}{6 e^3 (a+b x) (d+e x)^6}-\frac{b B \sqrt{a^2+2 a b x+b^2 x^2}}{4 e^3 (a+b x) (d+e x)^4} \]

[Out]

-((b*d - a*e)*(B*d - A*e)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(6*e^3*(a + b*x)*(d + e
*x)^6) + ((2*b*B*d - A*b*e - a*B*e)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(5*e^3*(a + b
*x)*(d + e*x)^5) - (b*B*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(4*e^3*(a + b*x)*(d + e*x
)^4)

_______________________________________________________________________________________

Rubi [A]  time = 0.277058, antiderivative size = 158, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 33, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.061 \[ \frac{\sqrt{a^2+2 a b x+b^2 x^2} (-a B e-A b e+2 b B d)}{5 e^3 (a+b x) (d+e x)^5}-\frac{\sqrt{a^2+2 a b x+b^2 x^2} (b d-a e) (B d-A e)}{6 e^3 (a+b x) (d+e x)^6}-\frac{b B \sqrt{a^2+2 a b x+b^2 x^2}}{4 e^3 (a+b x) (d+e x)^4} \]

Antiderivative was successfully verified.

[In]  Int[((A + B*x)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(d + e*x)^7,x]

[Out]

-((b*d - a*e)*(B*d - A*e)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(6*e^3*(a + b*x)*(d + e
*x)^6) + ((2*b*B*d - A*b*e - a*B*e)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(5*e^3*(a + b
*x)*(d + e*x)^5) - (b*B*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(4*e^3*(a + b*x)*(d + e*x
)^4)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 35.9649, size = 165, normalized size = 1.04 \[ - \frac{\left (2 a + 2 b x\right ) \left (A e - B d\right ) \sqrt{a^{2} + 2 a b x + b^{2} x^{2}}}{12 e \left (d + e x\right )^{6} \left (a e - b d\right )} + \frac{\sqrt{a^{2} + 2 a b x + b^{2} x^{2}} \left (2 A b e - 3 B a e + B b d\right )}{12 e^{2} \left (d + e x\right )^{5} \left (a e - b d\right )} - \frac{\sqrt{a^{2} + 2 a b x + b^{2} x^{2}} \left (2 A b e - 3 B a e + B b d\right )}{60 e^{3} \left (a + b x\right ) \left (d + e x\right )^{5}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((B*x+A)*((b*x+a)**2)**(1/2)/(e*x+d)**7,x)

[Out]

-(2*a + 2*b*x)*(A*e - B*d)*sqrt(a**2 + 2*a*b*x + b**2*x**2)/(12*e*(d + e*x)**6*(
a*e - b*d)) + sqrt(a**2 + 2*a*b*x + b**2*x**2)*(2*A*b*e - 3*B*a*e + B*b*d)/(12*e
**2*(d + e*x)**5*(a*e - b*d)) - sqrt(a**2 + 2*a*b*x + b**2*x**2)*(2*A*b*e - 3*B*
a*e + B*b*d)/(60*e**3*(a + b*x)*(d + e*x)**5)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0689762, size = 82, normalized size = 0.52 \[ -\frac{\sqrt{(a+b x)^2} \left (2 a e (5 A e+B (d+6 e x))+b \left (2 A e (d+6 e x)+B \left (d^2+6 d e x+15 e^2 x^2\right )\right )\right )}{60 e^3 (a+b x) (d+e x)^6} \]

Antiderivative was successfully verified.

[In]  Integrate[((A + B*x)*Sqrt[a^2 + 2*a*b*x + b^2*x^2])/(d + e*x)^7,x]

[Out]

-(Sqrt[(a + b*x)^2]*(2*a*e*(5*A*e + B*(d + 6*e*x)) + b*(2*A*e*(d + 6*e*x) + B*(d
^2 + 6*d*e*x + 15*e^2*x^2))))/(60*e^3*(a + b*x)*(d + e*x)^6)

_______________________________________________________________________________________

Maple [A]  time = 0.008, size = 88, normalized size = 0.6 \[ -{\frac{15\,B{x}^{2}b{e}^{2}+12\,Ab{e}^{2}x+12\,aB{e}^{2}x+6\,Bbdex+10\,A{e}^{2}a+2\,Abde+2\,aBde+Bb{d}^{2}}{60\,{e}^{3} \left ( ex+d \right ) ^{6} \left ( bx+a \right ) }\sqrt{ \left ( bx+a \right ) ^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((B*x+A)*((b*x+a)^2)^(1/2)/(e*x+d)^7,x)

[Out]

-1/60/e^3*(15*B*b*e^2*x^2+12*A*b*e^2*x+12*B*a*e^2*x+6*B*b*d*e*x+10*A*a*e^2+2*A*b
*d*e+2*B*a*d*e+B*b*d^2)*((b*x+a)^2)^(1/2)/(e*x+d)^6/(b*x+a)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt((b*x + a)^2)*(B*x + A)/(e*x + d)^7,x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.269991, size = 170, normalized size = 1.08 \[ -\frac{15 \, B b e^{2} x^{2} + B b d^{2} + 10 \, A a e^{2} + 2 \,{\left (B a + A b\right )} d e + 6 \,{\left (B b d e + 2 \,{\left (B a + A b\right )} e^{2}\right )} x}{60 \,{\left (e^{9} x^{6} + 6 \, d e^{8} x^{5} + 15 \, d^{2} e^{7} x^{4} + 20 \, d^{3} e^{6} x^{3} + 15 \, d^{4} e^{5} x^{2} + 6 \, d^{5} e^{4} x + d^{6} e^{3}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt((b*x + a)^2)*(B*x + A)/(e*x + d)^7,x, algorithm="fricas")

[Out]

-1/60*(15*B*b*e^2*x^2 + B*b*d^2 + 10*A*a*e^2 + 2*(B*a + A*b)*d*e + 6*(B*b*d*e +
2*(B*a + A*b)*e^2)*x)/(e^9*x^6 + 6*d*e^8*x^5 + 15*d^2*e^7*x^4 + 20*d^3*e^6*x^3 +
 15*d^4*e^5*x^2 + 6*d^5*e^4*x + d^6*e^3)

_______________________________________________________________________________________

Sympy [A]  time = 27.0781, size = 144, normalized size = 0.91 \[ - \frac{10 A a e^{2} + 2 A b d e + 2 B a d e + B b d^{2} + 15 B b e^{2} x^{2} + x \left (12 A b e^{2} + 12 B a e^{2} + 6 B b d e\right )}{60 d^{6} e^{3} + 360 d^{5} e^{4} x + 900 d^{4} e^{5} x^{2} + 1200 d^{3} e^{6} x^{3} + 900 d^{2} e^{7} x^{4} + 360 d e^{8} x^{5} + 60 e^{9} x^{6}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x+A)*((b*x+a)**2)**(1/2)/(e*x+d)**7,x)

[Out]

-(10*A*a*e**2 + 2*A*b*d*e + 2*B*a*d*e + B*b*d**2 + 15*B*b*e**2*x**2 + x*(12*A*b*
e**2 + 12*B*a*e**2 + 6*B*b*d*e))/(60*d**6*e**3 + 360*d**5*e**4*x + 900*d**4*e**5
*x**2 + 1200*d**3*e**6*x**3 + 900*d**2*e**7*x**4 + 360*d*e**8*x**5 + 60*e**9*x**
6)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.28164, size = 159, normalized size = 1.01 \[ -\frac{{\left (15 \, B b x^{2} e^{2}{\rm sign}\left (b x + a\right ) + 6 \, B b d x e{\rm sign}\left (b x + a\right ) + B b d^{2}{\rm sign}\left (b x + a\right ) + 12 \, B a x e^{2}{\rm sign}\left (b x + a\right ) + 12 \, A b x e^{2}{\rm sign}\left (b x + a\right ) + 2 \, B a d e{\rm sign}\left (b x + a\right ) + 2 \, A b d e{\rm sign}\left (b x + a\right ) + 10 \, A a e^{2}{\rm sign}\left (b x + a\right )\right )} e^{\left (-3\right )}}{60 \,{\left (x e + d\right )}^{6}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(sqrt((b*x + a)^2)*(B*x + A)/(e*x + d)^7,x, algorithm="giac")

[Out]

-1/60*(15*B*b*x^2*e^2*sign(b*x + a) + 6*B*b*d*x*e*sign(b*x + a) + B*b*d^2*sign(b
*x + a) + 12*B*a*x*e^2*sign(b*x + a) + 12*A*b*x*e^2*sign(b*x + a) + 2*B*a*d*e*si
gn(b*x + a) + 2*A*b*d*e*sign(b*x + a) + 10*A*a*e^2*sign(b*x + a))*e^(-3)/(x*e +
d)^6